<div class="item-popup popup-wrapper">
	<div class="popup edit-popup">
		<div classs="main">
			<div class="form-item-container"><label class="label">Referencia:</label><input id="reference" type="text" class="value" value="{{$item->reference}}"></input></div>
			<div class="form-item-container"><label class="label">Nombre:</label><input id="name" type="text" class="value" value="{{$item->name}}" /></input></div>
			<div class="form-item-container"><label class="label">Localizado en:</label>
				<select id="located_at_fk" type="text" class="value" value="">
					<option value="">Selecciona</option>
					@foreach(ItemLocation::all() as $location)
						<option value="{{$location->pk}}" {{$item->located_at_fk == $location->pk ? "selected": ""}}>{{$location->description}}</option>
					@endforeach
				</select>
			<div class="form-item-container"><label class="label">Precio (COP):</label><input id="price" type="text" class="value" value="{{number_format((float)$item->price, 0, '.', '')}}" />
			<div class="form-item-container"><label class="label">Cantidad:</label><input id="amount" type="text" class="value" value="{{$item->amount}}"></input></div>
		</div>
		<div class="image-uploader">
			<div class="image-preview"><img src="{{$item->image_url}}"></div>
			<div class="upload-btn-container"><a class="upload-btn" href="#">Cargar Imagen</a></div>
		</div>
		<div class="additional">
		</div>
		<div class="options"><a href="#" class="cancel-btn">Cancel</a></div>
		<div class="options"><a href="#" class="save-btn">Save</a></div>
	</div>
</div>